package com.hckjsec.law.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公共法律服务咨询对象 web_law_reserve
 * 
 * @author cyt
 * @date 2021-11-12
 */
public class WebLawReserve extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 所属小程序 */
    @Excel(name = "所属小程序")
    private Long configId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private Long companyId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** openid */
    @Excel(name = "openid")
    private String openid;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String certificatestype;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String certificatesnumber;

    /** 证件地址 */
    @Excel(name = "证件地址")
    private String certificatesaddr;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String typeNumber;

    /** 问题名称 */
    @Excel(name = "问题名称")
    private String typeName;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date reserveTime;

    /** 指定用户 */
    @Excel(name = "指定用户")
    private Long personnelId;

    /** 指定用户系统编号 */
    @Excel(name = "指定用户系统编号")
    private Long userId;

    /** 内容概述 */
    @Excel(name = "内容概述")
    private String content;

    /** 鉴定对象 */
    @Excel(name = "鉴定对象")
    private String identification;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 安排时间 */
    @Excel(name = "安排时间")
    private String scheduletime;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long reviewer;

    /** 审核人姓名 */
    @Excel(name = "审核人姓名")
    private String reviewerName;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date reviewerdatetime;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String reviewercontent;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setConfigId(Long configId)
    {
        this.configId = configId;
    }

    public Long getConfigId()
    {
        return configId;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setOpenid(String openid)
    {
        this.openid = openid;
    }

    public String getOpenid()
    {
        return openid;
    }
    public void setApplyTime(Date applyTime)
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime()
    {
        return applyTime;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setCertificatestype(String certificatestype)
    {
        this.certificatestype = certificatestype;
    }

    public String getCertificatestype()
    {
        return certificatestype;
    }
    public void setCertificatesnumber(String certificatesnumber)
    {
        this.certificatesnumber = certificatesnumber;
    }

    public String getCertificatesnumber()
    {
        return certificatesnumber;
    }
    public void setCertificatesaddr(String certificatesaddr)
    {
        this.certificatesaddr = certificatesaddr;
    }

    public String getCertificatesaddr()
    {
        return certificatesaddr;
    }
    public void setTypeNumber(String typeNumber)
    {
        this.typeNumber = typeNumber;
    }

    public String getTypeNumber()
    {
        return typeNumber;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }
    public void setReserveTime(Date reserveTime)
    {
        this.reserveTime = reserveTime;
    }

    public Date getReserveTime()
    {
        return reserveTime;
    }
    public void setPersonnelId(Long personnelId)
    {
        this.personnelId = personnelId;
    }

    public Long getPersonnelId()
    {
        return personnelId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setIdentification(String identification)
    {
        this.identification = identification;
    }

    public String getIdentification()
    {
        return identification;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setScheduletime(String scheduletime)
    {
        this.scheduletime = scheduletime;
    }

    public String getScheduletime()
    {
        return scheduletime;
    }
    public void setReviewer(Long reviewer)
    {
        this.reviewer = reviewer;
    }

    public Long getReviewer()
    {
        return reviewer;
    }
    public void setReviewerName(String reviewerName)
    {
        this.reviewerName = reviewerName;
    }

    public String getReviewerName()
    {
        return reviewerName;
    }
    public void setReviewerdatetime(Date reviewerdatetime)
    {
        this.reviewerdatetime = reviewerdatetime;
    }

    public Date getReviewerdatetime()
    {
        return reviewerdatetime;
    }
    public void setReviewercontent(String reviewercontent)
    {
        this.reviewercontent = reviewercontent;
    }

    public String getReviewercontent()
    {
        return reviewercontent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("configId", getConfigId())
                .append("companyId", getCompanyId())
                .append("deptId", getDeptId())
                .append("openid", getOpenid())
                .append("applyTime", getApplyTime())
                .append("name", getName())
                .append("phone", getPhone())
                .append("certificatestype", getCertificatestype())
                .append("certificatesnumber", getCertificatesnumber())
                .append("certificatesaddr", getCertificatesaddr())
                .append("typeNumber", getTypeNumber())
                .append("typeName", getTypeName())
                .append("reserveTime", getReserveTime())
                .append("personnelId", getPersonnelId())
                .append("userId", getUserId())
                .append("content", getContent())
                .append("identification", getIdentification())
                .append("state", getState())
                .append("scheduletime", getScheduletime())
                .append("reviewer", getReviewer())
                .append("reviewerName", getReviewerName())
                .append("reviewerdatetime", getReviewerdatetime())
                .append("reviewercontent", getReviewercontent())
                .toString();
    }
}
